//生成销量排行
function createSalesTop() {
    var html = "";
    for (var i = 0; i < salesTop.length - 1; i++) {
        html += "<dd>";
        html += "<p><font class='font1'>￥：" + parseToYuan(salesTop[i].minPrice) + "</font><font>销量：" + salesTop[i].salesSum + "</font></p>";
        html += "<a href='../course/-+salesTop[i].goodsId+-.htm'/*tpa=http://www.yxit.net/js/course/" + salesTop[i].goodsId + ".htm*/><img src='" + _picRoot + salesTop[i].mainIco + "' height='218' width='218' /></a>";
        html += "</dd>";
    }
    return html;
}

document.write(createSalesTop());